(function(){
	
	//作用域定义
	var hidoger = typeof this.hidoger == 'function' ? this.hidoger : function(){};
	this.hidoger = hidoger;
	var x = hidoger;
	   
 	x.fileManager = (function(){
 		var fm = {
		 
 			//文件的回调
			fileActive : function(fileUrl, data, allFiles){
				if(this.callback instanceof Function) this.callback(fileUrl, data, allFiles);
			},

			//上传完成
			uploadSuccess : function(file,response){ 
 			//批量
			if(ty_){
				
				
				}else{ 
					//单个文件
					$(id_class).val('/'+response.name);
					 
					 $(id_class+'_img').attr('src','/'+response.name);
						 
					layer.closeAll();
 					}
			
 				 
			},
 
		};
		
		return fm;
		
	})();
	
})();
 
 